//
//  MLButton.h
//  QuickCure37
//
//  Created by 马文星 on 16/6/21.
//  Copyright © 2016年 Demos. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef void(^ClickBtnBlock)();

@interface MLButton : UIButton


@property (nonatomic, copy) ClickBtnBlock clickBtnBlock ;

/** 快速创建 无触发事件 */
+ (instancetype)buttonCreatedWithTitle:(NSString *)title
                                  font:(CGFloat)fontSize
                            titleColor:(UIColor *)color
                              norImage:(NSString *)imageName
                             selectImg:(NSString *)selectImg;

/** 快速创建 btn */
- (instancetype)initCreatedWithTitle:(NSString *)title
                                font:(CGFloat)fontSize
                          titleColor:(UIColor *)color
                            norImage:(NSString *)imageName
                           selectImg:(NSString *)selectImg
                          clickBlock:(ClickBtnBlock)clickBlock;

@end
